package com.landiao.mapper;

import java.util.List;

import com.landiao.entities.Material;

public interface MaterialMapper extends BaseMapper<Material, String>{
    int deleteByPrimaryKey(String materialId);

    int insert(Material record);

    int insertSelective(Material record);

    Material selectByPrimaryKey(String materialId);

    int updateByPrimaryKeySelective(Material record);

    int updateByPrimaryKey(Material record);

	List<Material> getAllMaterialList(Material material);

	Material getByPurpose(Material material);
}